﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TBR.Entities.Message
{
    public class Message
    {
        public string TextMessage { get; set; }
        public string Date { get; set; }
        public UserBase Sender { get; set; }
        public bool IsRead { get; set; }

        public Message()
        {
 
        }

        public Message(string textMsg, string date, UserBase sender)
        {
            TextMessage = textMsg;
            Date = date;
            Sender = sender;
        }
    }
}
